import { Controller, Get, Post, Body, Patch, Param, Delete } from '@nestjs/common';
import { ApHwService } from './ap_hw.service';
import { CreateApHwDto } from './dto/create-ap_hw.dto';
import { UpdateApHwDto } from './dto/update-ap_hw.dto';

@Controller('ap/hw')
export class ApHwController {
  constructor(private readonly apHwService: ApHwService) {}

  @Post('ap_info')
  apInfo() {
    return this.apHwService.getApInfo();
  }

  // 获取设备信息
  @Post('info')
  deviceInfo() {
    return this.apHwService.getDeviceInfo();
  }
}
